home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libpam-runtime.postrm < prev    next >
Encoding:
Text File  |  2006-12-20  |  299 b   |  17 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = "purge" ]; then
  4.     rm -f /etc/pam.d/common-auth /etc/pam.d/common-account \
  5.           /etc/pam.d/common-session /etc/pam.d/common-password
  6. fi
  7.  
  8. case $1 in
  9.     abort-upgrade|abort-install)
  10.         mv /etc/pam.d/other.pre-upgrade /etc/pam.d/other 2>/dev/null ||true
  11.     ;;
  12.     esac
  13.     
  14.  
  15.  
  16.  
  17.